package com.pcj.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lei.xiang
 * @date 2025/4/3 13:13
 */
@Mapper
public interface CoverMapper {
    List<Map<String, Object>> getOneTable(@Param("tableName") String tableName,
                                                  @Param("fields") List<String> fields,
                                                  @Param("condition") String lastQueryValue);

    void batchUpdateByOriginalValue(List<Map<String, Object>> updates);
}
